package com.avic.modules.system.domain;

import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.bean.copier.CopyOptions;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author zhangzikang 工段表
 * @date 2022-08-14
 */
@Data
@TableName("workshop_section")
public class WorkshopSection implements Serializable {

    // id
    private String id;

    // 名称
    private String name;

    public void copy(WorkshopSection source) {
        BeanUtil.copyProperties(source, this, CopyOptions.create().setIgnoreNullValue(true));
    }
}
